package com.zhongwang.business.module.main.dao;

import com.zhongwang.business.module.main.model.*;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author 徐一贺
 * @className ProdOrdDao
 * @description 生产令持久层
 * @date 2021/1/11 15:52
 * @versron ver 1.0
 */
@Repository
public interface ProdOrdMapper {
    List<ProjectSchedulingModel> selectProjectChangeList(ProjectSchedulingModel model);

    ProjectModel selectChangeInfoById(Integer proChangeId);

    PreEnquiry selectPreEnqById(Integer preEnqId);

    ProChange selectByPrimaryKey(Integer proChangeId);

    List<PreEnquiryFile> findChangeFileListByEnquiryId(@Param("enquiryId") Integer enquiryId, @Param("origEnquiryId") Integer origEnquiryId);

    VwPreEnquiryFile getVwPreEnquiryFileByPrimary(Integer id);
}